<template>
    <div>
        <div class="components_moTai" v-show="isAgreeShow">
            <div class="com_boxIn" v-show="isAgreeShow">
                <i class="el-icon-success component_moTai"></i>{{ text }}
            </div>
        </div>
    </div>
</template>

<script>
    export default {
        props:{
            isAgreeShow:{
            type:Boolean,
            default:false
        },
            text:{
            type:String,
            default:'删除成功'
        }
        },
        methods: {
            onClose() {
                this.$emit("on-close",false);
            },
        }
    }
</script>

<style lang="less" scoped>
.components_moTai{
    position: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.1);
    z-index: 99999;
}
.component_moTai{
    color: #165bff;
    font-size: 18px;
    margin-right: 8px;
}
.com_boxIn{
    width: 300px;
    height: 50px;
    background: white;
    text-align: center;
    line-height: 50px;
    font-size: 18px;
    font-family: PingFang SC-Semibold, PingFang SC;
    font-weight: 600;
    color: #333333;
    // transform: translate(-50%,-50%);
}
</style>